package br.com.classesinternasedatas;

import java.text.NumberFormat;
import java.util.Locale;

/**
 * Codigo que demonstra o uso de NumberFormat com Locale
 * @author sidney.ferreira
 *
 */  
public class TesteDate7 {
	public static void main(String[] args) {
		double x = 100.2;
		Locale l = new Locale("us");
		NumberFormat nf = NumberFormat.getCurrencyInstance(l);
		System.out.println(nf.format(x));
	}
}
